.app-main {
  margin: 0 0 0 225px;
  padding-top: 75px;
  margin-left: 225px;
  transition: margin-left .3s;
}
.nav-height {
  position: fixed;
  z-index: 2;
  width: 100%;
  left: 0;
  top: 0;
  height: 75px;
  line-height: 75px;
  background-color: #304156;
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 0 5px;
    color: #fff;
    .title-con {
      display: flex;
      align-items: center;
      .icon {
        cursor: pointer;
        font-size: 30px;
        font-weight: normal;
        transition: all .2s;
      }
      .title-text {
        margin-left: 10px;
        font-size: 24px;
        font-weight: bold;
      }
      .icon-rotate {
        transform: rotate(180deg);
      }
    }
    .dropdown-main {
      height: 75px;
      .box {
        display: flex;
        align-items: center;
        height: 75px;
        color: #fff;
        .img-wrap {
          font-size: 20px;
          margin-right: 10px;
        }
      }
    }
  }
}
.sidebar-main {
  position: fixed;
  z-index: 9999999;
  left: 0;
  top: 75px;
  bottom: 0;
  background-color: #304156;
  .sidebar-con {
    width: 225px;
    transition: width .3s;
    height: 100%;
    overflow: hidden;
    .router-item {
      display: block;
    }
  }
  .sidebar-item {
    .el-menu {
      background-color: #1f2d3d;
      box-shadow: inset 0 2px 8px rgba(0,0,0,.45);
    }
  }
  .el-menu {
    width: 225px;
  }
  .collapse-sidebar {
    width: 36px;
    transition: width .3s;
    .el-menu--collapse {
      width: 36px!important;
    }
    .el-menu-item, .el-submenu__title {
      padding: 0!important;
      .el-icon-document, .el-icon-location {
        margin-right: 0!important;
        margin-left: 5px;
      }
      .el-icon-arrow-right {
        display: none;
      }
    }
    .el-submenu {
      .el-menu {
        display: none;
      }
    }
  }
  .el-dropdown-menu, .el-menu {
    background-color: #304156;
    overflow: hidden;
    border-right: none;
  }
  .el-menu-item {
    color: #fff;
    &.is-active {
      color: #fff;
    }
  }
  .el-submenu__title {
    color: #fff;
    & i {
      color: #fff;
    }
  }
  .el-menu-item:focus, .el-menu-item:hover, .el-menu-item.is-active, .el-submenu__title:hover {
    background-color: #409EFF;
  }
  .el-submenu.is-active {
    .el-submenu__title {
      background-color: #409EFF;
    }
  }
  .el-menu--collapse {
    .text {
      display: inline-block;
      width: 0;
      height: 0;
      overflow: hidden;
    }
  }
}
.collapse-app-main {
  margin-left: 36px;
  transition: margin-left .3s;
}
.tool-tip-link {
  .el-menu-item:focus, .el-menu-item:hover {
    background-color: #409EFF;
    color: #fff;
  }
}

.mobile {
  &.hide-sidebar {
    .sidebar-main {
      .sidebar-con {
        width: 0;
      }
    }
    .app-main {
      margin-left: 0;
    }
    .drawer-bg {
      display: none!important;
    }
  }
  &.lay-out {
    .drawer-bg {
      display: block;
    }
  }
}

.custom-sidebar-tip {
  display: none;
}

// 移动端样式
.mobile {
  .nav-height {
    .navbar {
      .title-con {
        .title-text {
          font-size: 18px;
        }
      }
      .dropdown-main {
        .box {
          .img-wrap {
            display: none;
          }
        }
      }
    }
  }
}